﻿using Service.src.Flow.Server;
using System.Runtime.InteropServices;

namespace Service.src.Flow.Api
{

    [ComVisible(true)]
    [ClassInterface(ClassInterfaceType.AutoDual)]
    public class FlowNodeParamsApi
    {

        public static FlowNodeDataServer DataServer;

        public FlowNodeParamsApi()
        {
            DataServer = new FlowNodeDataServer();
        }

        //public string Install(string FlowId, int NodeId, string DataJson)
        //{

        //    List<NodeInputParam> NodeDatas = ConvertHelper.ToObject<List<NodeInputParam>>(DataJson);
        //    return DataServer.Install(NodeDatas).ToJson();
        //}
    }
}
